package com.kingwang.training.designpattern.principles.lsp.shape;

import lombok.Data;

@Data
public class Rectangle {
    private Double width;

    private Double height;

    public Double getArea() {
        return this.width * this.height;
    }
}
